﻿namespace EzDesk.DesktopClient.ViewModel
{
    using EzDesk.DesktopClient.ViewContract;
    using EzDesk.MVVMBase;
    using EzDesk.DesktopClient.Model;
    using EzDesk.DesktopClient.MVVMEnhance;
    using EzDesk.DesktopClient.ServiceLocator.ClientService;
    public class SelfInfoViewModel : ViewModelWithSingleContainer<ISelfInfoView>
    {
        private UserProfile _userProfileModel;

        public UserProfile UserProfileModel
        {
            get
            {
                if (this._userProfileModel == null)
                {
                    _userProfileModel = UserManagement.Instance.LogUser;
                }
                return _userProfileModel;
            }
            set { _userProfileModel = value; }
        }


        public SelfInfoViewModel()
            : base()
        {

        }
        public SelfInfoViewModel(UserProfile userProfile)
            : base()
        {
        }
        public void Init()
        {

        }
    }
}